package com.four.rentalhousing.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class ServerContextListener implements ServletContextListener{
    @Override
    public void contextInitialized (ServletContextEvent sce) {
        System.out.println("************* APP START *************");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("************* APP STOP *************");
    }

}
